package com.clj.blesample;

/**
 * Created by SEELE on 2018/1/16.
 */

public interface BaseCommond {
    String HEX_COMMOND_TYPE_NOTIFICATION_17 = "17";
    String HEX_COMMOND_TYPE_NOTIFICATION_18 = "18";
    String HEX_COMMOND_TYPE_NOTIFICATION_12 = "12";//Notification 设备蓝牙主动推送报文类型
    String HEX_COMMOND_TYPE_15 = "15";
    String HEX_COMMOND_START = "55AA";
    /**
     * BR08设备类型：0x26
     BR16设备类型：0x81
     */
    String HEX_COMMOND_DT_BR16 = "81";
    String HEX_COMMOND_DT_BR08 = "26";
    String HEX_COMMOND_DT_KP08 = "34";
    String HEX_COMMOND_DT_KP14 = "56";
    String HEX_COMMOND_DT_MR = "67";
    String SN_DEFAULT = "00";
    String HEX_COMMOND_TYPE_NOTIFICATION_19 = "19";

    String HEX_REQUEST_PASSTHROUGH_CD41_11 = "55AA03194118";
    String HEX_REQUEST_SET_QUERY = "55AA0114";
    String HEX_REQUEST_BACKLIGHT_QUERY = "55AA0323" + HEX_COMMOND_DT_KP08  + SN_DEFAULT;
    String HEX_COMMOND_TYPE_22 = "22";
    String HEX_REQUEST_GROUP_QUERY = "55AA0125";
    String HEX_COMMOND_TYPE_24 = "24";


    //action value
    String Z1_UP = "01";
    String Z1_DOWN= "02";
    String Z1_LONG_PRESS = "03";

    String Z2_UP = "05";
    String Z2_DOWN= "06";
    String Z2_LONG_PRESS = "07";

    String Z3_UP = "09";
    String Z3_DOWN= "0A";
    String Z3_LONG_PRESS = "0B";

    String Z4_UP = "0D";
    String Z4_DOWN= "0E";
    String Z4_LONG_PRESS = "0F";

    String Z5_UP = "11";
    String Z5_DOWN= "12";
    String Z5_LONG_PRESS = "13";

    String Z6_UP = "15";
    String Z6_DOWN= "16";
    String Z6_LONG_PRESS = "17";

    String Z7_UP = "19";
    String Z7_DOWN= "1A";
    String Z7_LONG_PRESS = "1B";

    String Z8_UP = "1D";
    String Z8_DOWN= "1E";
    String Z8_LONG_PRESS = "1F";
    String Y1_UP = "21";
    String Y1_DOWN= "22";
    String Y1_LONG_PRESS = "23";

    String Y2_UP = "25";
    String Y2_DOWN= "26";
    String Y2_LONG_PRESS = "27";

    String Y3_UP = "29";
    String Y3_DOWN= "2A";
    String Y3_LONG_PRESS = "2B";

    String Y4_UP = "2D";
    String Y4_DOWN= "2E";
    String Y4_LONG_PRESS = "2F";

    String Y5_UP = "31";
    String Y5_DOWN= "32";
    String Y5_LONG_PRESS = "33";

    String Y6_UP = "35";
    String Y6_DOWN= "36";
    String Y6_LONG_PRESS = "37";

    String Y7_UP = "39";
    String Y7_DOWN= "3A";
    String Y7_LONG_PRESS = "3B";

    String Y8_UP = "3D";
    String Y8_DOWN= "3E";
    String Y8_LONG_PRESS = "3F";

    String PAIR_UP = "41";
    String PAIR_DOWN= "42";
    String PAIR_LONG_PRESS = "43";

    String NAV_UP = "45";
    String NAV_DOWN= "46";
    String NAV_LONG_PRESS = "47";
}
